<%--
  Created by IntelliJ IDEA.
  User: lzx
  Date: 16/7/8
  Time: 上午11:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>session测试</title>
</head>
<body>
<form name="sessionSample" action="form" method="post">
    <input type="hidden" name="token" value="${sessionScope["token"]}">
    <input type="text" name="username">
    <input type="submit" value="提交">
</form>

<h2>测试不同方式跳转session是否有变化</h2>
<a href="session/sessionA">forwardA</a>
<a href="testRedirect/sessionB">redirectB</a>
</body>
</html>
